package com.dys.othernewfeatures14.type;

/**
 * @className: com.dys.othernewfeatures14.type.TypeUseDemo01
 * @description: 类型注解的使用
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/09/03 下午11:11
 */
public class TypeUseDemo01 {

    private @NotNull Integer age = 10;

    public Integer sum(@NotNull Integer a, @NotNull Integer b) {
        return a + b;
    }
}
